package net.minecraft.src;

public class ItemBlockPrehistoricPlant extends ItemBlock
{

    public ItemBlockPrehistoricPlant(int i)
    {
        super(i);
        setItemName("BlockPrehistoricPlant");
        setHasSubtypes(true);
    }

    public String getItemNameIS(ItemStack itemstack)
    {
        int i = itemstack.getItemDamage();
        if(i == 0)
        {
            i = 0;
        }
        if(i == 1)
        {
            i = 1;
        }
		if(i == 2)
        {
            i = 2;
        }
		if(i == 3)
        {
            i = 3;
        }
        if(i == 4)
        {
            i = 4;
        }
		if(i == 5)
        {
            i = 5;
        }
        return (new StringBuilder()).append(getItemName()).append(i).toString();
    }

    public int getPlacedBlockMetadata(int i)
    {
		if(i == 0)
		{
			return 0;
		}
		if(i == 1)
		{
			return 1;
		} 
		if(i == 2)
		{
			return 2;
		}
		if(i == 3)
		{
			return 3;
		}
		if(i == 4)
		{
			return 4;
		} 
		if(i == 5)
		{
			return 5;
		} 		else
		{
			return 0;
		}
	}
}
